#pragma once


#include "type_cpp14.h"

namespace lee8871_byte {
	class __EXPORT_DLL IByteStream {
	public:
		virtual bool isRunning() = 0;
		virtual error_code send(byte const* b, int length) = 0;
		virtual error_code recv(byte* b, int& length, int max_length) = 0;
	};
}